//枚举类型
// 设备状态
export const STATE_ENUM = [
    { key: '上线', value: '1' },
    { key: '下线', value: '2' },
]
import * as echarts from 'echarts'
//echarts渐变色枚举
export const GRADIENT_COLOR = [
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#63E3FF' }, { offset: 1, color: '#12A3E8' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#93EED2' }, { offset: 1, color: '#5AD8A6' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#F9F4C2' }, { offset: 1, color: '#F2D647' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#FCDF83' }, { offset: 1, color: '#FA9D14' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#FC7131' }, { offset: 1, color: '#FFA795' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#FFAB84' }, { offset: 1, color: '#FFE3DE' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#FF8271' }, { offset: 1, color: '#FFC4C4' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#F9F4C2' }, { offset: 1, color: '#FFBF0F' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#FFF6EE' }, { offset: 1, color: '#FFD18D' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#FFFBD1' }, { offset: 1, color: '#FFE69F' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#ECFFE3' }, { offset: 1, color: '#9EFFB7' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#DEFFCD' }, { offset: 1, color: '#14FA4F' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#39FFC2' }, { offset: 1, color: '#15FFA2' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#CCF6FF' }, { offset: 1, color: '#8CDAFF' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#B5DFFF' }, { offset: 1, color: '#4EA4FF' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#ADB4FF' }, { offset: 1, color: '#D7DAFF' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#919DFF' }, { offset: 1, color: '#775DFF' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#F9E4FF' }, { offset: 1, color: '#D7A8FF' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#E898FF' }, { offset: 1, color: '#9D5AD8' }]),
    new echarts.graphic.LinearGradient(0, 1, 0, 0, [{ offset: 0, color: '#F9C2D5' }, { offset: 1, color: '#F2477A' }])
]